/* 字体声明 */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?tomleg') format('truetype'), url('../fonts/icomoon.woff?tomleg') format('woff'), url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: #c81623;
}


/* shortcut模块 */

.fl>ul>li {
    float: left;
}

.shortcut {
    height: 30px;
    line-height: 30px;
    background-color: #f1f1f1;
}

.shortcut .fr>ul>li {
    float: left;
}

.shortcut .fr>ul>li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 10px 15px 0;
}

.arrow-icon {
    position: relative;
}

.sec_menu {
    display: none;
    position: absolute;
    top: 30px;
    z-index: 2;
    width: 85px;
    background-color: #c81623;
}

.sec_menu li {
    margin-left: 2px;
    text-indent: 10px;
}

.sec_menu li:hover {
    background-color: #fff;
}

.sec_menu li:hover a {
    color: #c81623;
}

.sec_menu li a {
    width: 60px;
    color: #fff;
}

.shortcut .arrow-icon::after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 10px;
}


/* header 头部模块 */

.header {
    position: relative;
    height: 105px;
    /* background-color: pink; */
}

.header .logo {
    position: absolute;
    top: 25px;
    left: 0;
    width: 171px;
    height: 61px;
}


/* 行内块指定宽高和块元素指定宽高 区别 
加了文字后区别
加了文字后居中的区别 */

.header .logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../img/logo.png) no-repeat;
    /* 连接 里面要放文字（网站名称），为了搜索引擎收录我们。  但是文字不要显示出来
    方法有两个 */
    /* 1、直接让文字大小为0 */
    font-size: 0;
    /* 2、左右移动文字 让文字移动到盒子外  保险起见 再隐藏起来 */
    /* text-indent: -9999px;
    overflow: hidden; */
}

.search {
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
    outline: none;
    color: #999;
}


/* 因为input 和 button 都是行内块元素  相邻之间会有空隙 解决方法就是给两个行内块都加浮动 */

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}

.hotwords {
    position: absolute;
    top: 65px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    top: 50%;
    right: 0;
    width: 140px;
    height: 35px;
    line-height: 35px;
    margin-top: -18px;
    margin-right: 60px;
    background-color: #f7f7f7;
    border: 1px solid #dfdfdf;
    text-align: center;
    border-radius: 5px;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    color: #db5c5c;
    font-size: 12px;
}

.shopcar::after {
    content: '\ea50';
    font-family: 'icomoon';
    font-size: 12px;
}


/* 注意此处不要给count盒子指定宽度 如果购物车数量足够大 就需要自动撑开盒子以满足样式 */

.shopcar .count {
    position: absolute;
    top: -5px;
    left: 105px;
    /* 此处默认应该是左对齐 否则若购物数量足够大 数字框跑偏 */
    height: 16px;
    line-height: 16px;
    padding: 0 5px;
    /* 指定padding值来撑大盒子宽度 */
    background-color: #e60012;
    color: #fff;
    border-radius: 8px;
    border-bottom-left-radius: 0;
}


/* 导航栏模块 */

nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.dropdown {
    width: 210px;
}

.dropdown .dt {
    width: 210px;
    height: 45px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
    line-height: 45px;
    text-align: center;
}

.navitems {
    margin: 15px 0 0 15px;
}

.navitems a {
    padding: 0 25px;
    font-size: 16px;
    color: #333;
}

.navitems a:hover {
    color: #c81623;
}

.dd {
    /* display: none; */
    margin-top: 2px;
}

.dd ul {
    width: 210px;
    height: 466px;
    background: #c81623;
}

.dd ul li {
    position: relative;
    width: 208px;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    text-indent: 10px;
    color: #fff;
}

.dd ul li a {
    font-size: 14px;
    color: #fff;
}

.dd ul li:hover {
    background-color: #fff;
    color: #c81623;
}

.dd ul li:hover a {
    color: #c81623;
}

.dd ul li::after {
    content: "\e920";
    font-family: "icomoon";
    float: right;
    position: absolute;
    top: 0;
    right: 10px;
}


/* 页脚模块 */

footer {
    height: 417px;
    background-color: #f5f5f5;
}

.mod_service {
    height: 110px;
    padding-top: 30px;
    border-bottom: 1px solid #ededed;
}

.mod_service ul {
    margin-left: 34px;
}

.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
}

.mod_service ul li:last-child {
    width: 180px;
}

.mod_service ul li span {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 7px;
    background: url(../img/sprits.png) no-repeat -253px -3px;
}

.mod_service ul li:nth-child(2) span {
    background: url(../img/sprits.png) no-repeat -255px -54px;
}

.mod_service ul li:nth-child(3) span {
    background: url(../img/sprits.png) no-repeat -257px -106px;
}

.mod_service ul li:nth-child(4) span {
    background: url(../img/sprits.png) no-repeat -258px -157px;
}

.mod_service ul li:nth-child(5) span {
    background: url(../img/sprits.png) no-repeat -257px -209px;
}

.mod_service ul li h4 {
    margin-top: 2px;
    line-height: 25px;
    font-size: 14px;
    color: #333;
}

.mod_service ul li p {
    font-size: 12px;
    color: #666;
}

.mod_help {
    height: 188px;
    padding-top: 20px;
    border-bottom: 1px solid #ededed;
}

.mod_help dl {
    float: left;
    width: 200px;
}

.mod_help dl:first-child {
    margin-left: 40px;
}

.mod_help dl:last-child {
    width: 160px;
}

.mod_help dl dt {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.mod_help dl dd {
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}

.client {
    width: 95px;
    height: 95px !important;
    margin-left: -15px;
}

.mod_copyright {
    padding-top: 20px;
    text-align: center;
}

.mod_copyright a {
    padding: 0 15px;
    font-size: 12px;
    color: #666;
}

.mod_copyright p {
    margin-top: 10px;
    line-height: 20px;
}